package com.hy.convenient.service.login;

import com.hy.convenient.dao.login.SystemMenuMapperExtend;
import com.hy.convenient.pojo.login.SystemMenuPojo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SystenMenuService {
    @Autowired
    private SystemMenuMapperExtend systemMenuMapperExtend;

    public List<SystemMenuPojo> getAll(){
        List<SystemMenuPojo> list = systemMenuMapperExtend.queryAll(null);
        return  list;
    }
    public int insert(SystemMenuPojo record){
        return  systemMenuMapperExtend.insert(record);
    }
}
